package com.gjy.mongod.domain;

import com.gjy.mongod.annotation.MongoId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-10-17 09:23:25
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Company {

    @MongoId
    private Long id;

    private String name;

    private LocalDateTime createTime;

    private BigDecimal price;

    private Group g1;

    private List<String> ns;

    private List<Group> groups;
}
